/*
 * Copyright (c) 2025 EasyAdmin
 * All rights reserved.
 *
 * This file is part of the [EasAdmin] project.
 * Unauthorized copying of this file, via any medium, is strictly prohibited.
 * Proprietary and confidential.
 *
 * Author: EasyAdmin ( 1073602@qq.com )
 * Website: https://www.xhxiao.com
 */
package ${table.packageName}.query;

import com.easy.framework.common.model.BaseQuery;
import com.easy.framework.database.annotation.Query;
import com.easy.framework.database.annotation.QueryType;
import lombok.Getter;
import lombok.Setter;

/**
 * ${table.tableComment} 查询实体
 *
 * @author ${table.author}
 * @date ${date}
 */
@Getter
@Setter
public class ${table.className}Query extends BaseQuery
{

    private static final long serialVersionUID = 1L;

<#list table.fields as f>
   <#if f.queryType?? && f.queryType !=''>

   /**
    * ${f.fieldComment}
    */
    @Query<#if f.queryType != "EQ">(name = "${f.javaFieldName}",type = QueryType.${f.queryType})</#if>
    private ${f.javaDataType} ${f.javaFieldName};
    </#if>
</#list>
}